import type { BaseWidgetType } from "../type";

export const baseWidgets:BaseWidgetType[] = [
    {
        type:'input',
        icon: 'iconamoon:edit-fill',
        options:{
            label: '输入框',
            name:"",
            defaultValue: '',
            placeholder: '',
            readonly:false,
            disabled:false,
            clearable:true,
            required: false,
            requiredHint:"",
            validation:"",
            columnWidth: '200px',
        }
    },
    {
        type:"number",
        icon: 'iconamoon:edit-fill',
        options:{
            label: '数字输入框',
            name:"",
            defaultValue: '',
            placeholder: '',
            readonly:false,
            disabled:false,
            clearable:true,
            required: false,
            requiredHint:"",
            validation:"",
            columnWidth: '200px',
        }
    },
    {
        type:"date-picker",
        icon: 'iconamoon:edit-fill',
        options:{
            label: '日期',
            name:"",
            defaultValue: '',
            placeholder: '',
            readonly:false,
            disabled:false,
            clearable:true,
            required: false,
            requiredHint:"",
            validation:"",
            columnWidth: '200px',
            picker:'date',//日期类型
        }
    }
]